package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.FM;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.Mapping;

import java.util.List;

@Mapper
public interface FMMapper {
    int fmAdd(FM fm);
    int fmUpdate(FM fm);
    int fmDelete(int id);
    List<FM> fmSelectAll();
    List<FM> fmByMoreTable();
    List<FM> fmSelectByName(String name);
}
